System and method of establishing communication for exchanging ranging information

ABSTRACT

A method of establishing communication between a first device and a second device to exchange ranging information is provided. According to an embodiment, the method includes: sending, by the first device to the second device via a first channel, or receiving, by the first device from the second device via the first channel, a first control message indicating a start time; sending, by the first device to the second device via a second channel, a second control message including one or more ranging parameter values for exchanging the ranging information, the second control message being sent at the start time; and exchanging, by the first device with the second device via the second channel, the ranging information over one or more ranging rounds.

PRIORITY

This application is a continuation of U.S. patent application Ser. No.16/867,197 filed May 5, 2020, now U.S. Pat. No. 11,405,894, issued Aug.2, 2022, which is based on and claims the benefit of and priority under35 U.S.C. § 119(e) to a U.S. Provisional Patent Application filed onJul. 9, 2019 in the United States Patent and Trademark Office andassigned Ser. No. 62/872,124, the entire contents of each of which areincorporated herein by reference.

FIELD

The present disclosure generally relates to wireless communicationsystems. In particular, the present disclosure is related to a systemand method of establishing communication between wireless communicationsystems to exchange ranging information.

BACKGROUND

Ranging generally refers to a process of establishing a target distance.Two wireless communications systems or devices may perform ranging todetermine the distance between them, for example, by exchanging ranginginformation via radio frequency (RF) signals, determining atime-of-flight (ToF) of the RF signals based on the ranging information,and calculating the distance by multiplying the ToF by the speed oflight.

If two devices are synchronized, one-way ranging (OWR) may be performedto determine the distance between the two devices; otherwise, two-wayranging (TWR) may be performed. OWR generally entails a one-way exchangein which a first device sends ranging information to a second device,whereas TWR generally entails a two-way exchange of ranging informationin which both the first device and the second device send ranginginformation to each other.

Mobile devices that have ranging capabilities are more spatially awareand, through that spatial awareness, are able to offer a growing numberof exciting features to users. As such, there are efforts to develop andstandardize protocols for ranging. One such effort is the FiRaConsortium, which is dedicated to the development and widespreadadoption of seamless user experiences using the secured fine ranging andpositioning capabilities of interoperable Ultra-Wideband (UWB)technologies in the frequency range of 6.5 GHz to 9 GHz.

SUMMARY

According to one or more embodiments, a method of establishingcommunication between a first device and a second device to exchangeranging information includes: sending, by the first device to the seconddevice via a first channel, or receiving, by the first device from thesecond device via the first channel, a first control message indicatinga start time; sending, by the first device to the second device via asecond channel, a second control message including one or more rangingparameter values for exchanging the ranging information, the secondcontrol message being sent at the start time; and exchanging, by thefirst device with the second device via the second channel, the ranginginformation over one or more ranging rounds.

According to one or more embodiments, a method of establishingcommunication between a first device and a second device to exchangeranging information includes: sending, by the second device to the firstdevice via a first channel, or receiving, by the second device from thefirst device via the first channel, a first control message indicating astart time; determining, by the second device, an enable time based onthe start time; enabling a first circuit on the second device at theenable time, the first circuit being configured to support communicationover a second channel; and exchanging, by the second device with thefirst device via the second channel, the ranging information over one ormore ranging rounds.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects and features of certain embodiments of thepresent disclosure will be more apparent from the following detaileddescription, taken in conjunction with the accompanying drawings, inwhich:

FIG. 1 illustrates a diagram of first and second wireless devicesestablishing communication to exchange ranging information, according toan embodiment;

FIG. 2 illustrates a diagram of a timing for establishing communicationto exchange ranging information, according to an embodiment;

FIG. 3 illustrates a flowchart of a method by a first device forestablishing communication to exchange ranging information, according toan embodiment;

FIG. 4 illustrates a flowchart of method by a second device forestablishing communication to exchange ranging information, according toan embodiment;

FIG. 5 illustrates a block diagram of an electronic device in a networkenvironment, according to one embodiment.

DETAILED DESCRIPTION

Hereinafter, embodiments of the present disclosure are described indetail with reference to the accompanying drawings. It should be notedthat the same elements will be designated by the same reference numeralsalthough they are shown in different drawings. In the followingdescription, specific details such as detailed configurations andcomponents are merely provided to assist with the overall understandingof the embodiments of the present disclosure. Therefore, it should beapparent to those skilled in the art that various changes andmodifications of the embodiments described herein may be made withoutdeparting from the scope of the present disclosure. In addition,descriptions of well-known functions and constructions may be omittedfor clarity and conciseness. The terms described below are terms definedin consideration of the functions in the present disclosure, and may bedifferent according to users, intentions of the users, or customs.Therefore, the definitions of the terms should be determined based onthe contents throughout this specification.

The present disclosure may have various modifications and variousembodiments, among which embodiments are described below in detail withreference to the accompanying drawings. However, it should be understoodthat the present disclosure is not limited to the embodiments, butincludes all modifications, equivalents, and alternatives within thescope of the present disclosure.

Although the terms including an ordinal number such as first, second,etc. may be used for describing various elements, the structuralelements are not restricted by the terms. The terms are only used todistinguish one element from another element. For example, withoutdeparting from the scope of the present disclosure, a first structuralelement may be referred to as a second structural element. Similarly,the second structural element may also be referred to as the firststructural element. As used herein, the term “and/or” includes any andall combinations of one or more associated items.

The terms used herein are merely used to describe various embodiments ofthe present disclosure but are not intended to limit the presentdisclosure. Singular forms are intended to include plural forms unlessthe context clearly indicates otherwise. In the present disclosure, itshould be understood that the terms “include” or “have” indicateexistence of a feature, a number, a step, an operation, a structuralelement, parts, or a combination thereof, and do not exclude theexistence or probability of the addition of one or more other features,numerals, steps, operations, structural elements, parts, or combinationsthereof.

Unless defined differently, all terms used herein have the same meaningsas those understood by a person skilled in the art to which the presentdisclosure belongs. Terms such as those defined in a generally useddictionary are to be interpreted to have the same meanings as thecontextual meanings in the relevant field of art, and are not to beinterpreted to have ideal or excessively formal meanings unless clearlydefined in the present disclosure.

The electronic device according to one embodiment may be one of varioustypes of electronic devices. The electronic devices may include, forexample, a portable communication device (e.g., a smart phone), acomputer, a portable multimedia device, a portable medical device, acamera, a wearable device, or a home appliance. According to one or moreembodiments of the present disclosure, an electronic device is notlimited to those described above.

The terms used in the present disclosure are not intended to limit thepresent disclosure but are intended to include various changes,equivalents, or replacements for a corresponding embodiment. With regardto the descriptions of the accompanying drawings, similar referencenumerals may be used to refer to similar or related elements. A singularform of a noun corresponding to an item may include one or more of thethings, unless the relevant context clearly indicates otherwise. As usedherein, each of such phrases as “A or B,” “at least one of A and B,” “atleast one of A or B,” “A, B, or C,” “at least one of A, B, and C,” and“at least one of A, B, or C,” may include all possible combinations ofthe items enumerated together in a corresponding one of the phrases. Asused herein, terms such as “1^(st),” “2nd,” “first,” and “second” may beused to distinguish a corresponding component from another component,but are not intended to limit the components in other aspects (e.g.,importance or order). It is intended that if an element (e.g., a firstelement) is referred to, with or without the term “operatively” or“communicatively”, as “coupled with,” “coupled to,” “connected with,” or“connected to” another element (e.g., a second element), it indicatesthat the element may be coupled with the other element directly (e.g.,wired), wirelessly, or via a third element.

As used herein, the term “module” may include a unit implemented inhardware, software, or firmware, and may be used interchangeably withother terms, for example, “logic,” “logic block,” “part,” and“circuitry.” A module may be a single integral component, or a minimumunit or part thereof, adapted to perform one or more functions. Forexample, according to one embodiment, a module may be implemented in aform of an application-specific integrated circuit (ASIC).

FIG. 1 illustrates a diagram of first and second wireless devicesestablishing communication to exchange ranging information, according toan embodiment. A first device 110 includes a first communicationscircuit 111, a second communications circuit 112, and a thirdcommunications circuit 113. Similarly, a second device 120 includes afirst communications circuit 121, a second communications circuit 122,and a third communications circuit 123.

The first communications circuit 111 (or 121), the second communicationscircuit 112 (or 122), and the third communications circuit 113 (or 123)may include one or more transmitter/receiver/transceiver circuitscoupled to one or more antennas and operate with various communicationstechnologies, protocols and/or frequencies. For example, the firstcommunications circuit 111 (or 121) may be configured to communicateusing Bluetooth Low Energy (BLE) technology, the second communicationscircuit 112 (or 122) may be configured to communicate using UWBtechnology as specified by the IEEE 802.15.4 standard family, and thethird communications circuit 113 (or 123) may be configured tocommunicate using Wi-Fi technology as specified by the IEEE 802.11standard family.

The first device 110 and the second device 120 may communicate with eachother or with other devices via their communications circuits. Forexample, as shown in FIG. 1, the first device 110 and the second device120 may communicate with each other via a first communications channel101 and a second communications channel 102 by operating, respectively,their first communications circuit 111 (121) and the secondcommunications circuit 112 (122). The first device 110 and the seconddevice 120 may also communicate with each other via a communicationschannel 103, or with other devices, such as a third device 130 viacommunications channels 104 and 105, by operating their respectivecommunications circuits 113 and 123. Although FIG. 1 shows the first andsecond devices 110 and 120 as being symmetrical, that need not be thecase; the devices shown may be the same type or different types ofdevices. In one embodiment, for example, the first device 110 may be astationary reader device, the second device 120 may be a mobile phone,and the third device 130 may be a Wi-Fi access point (AP).

According to one embodiment, the first device 110 and the second device120 may utilize the first communications channel 101 (e.g., a BLEchannel) to establish communication over the second communicationschannel 102 (e.g., a UWB channel) to exchange ranging information. Inthis sense, the first communications channel 101 may be considered anout-of-band (OOB) channel, and the second communications channel 102 maybe considered an in-band (IB) channel, because the first communicationschannel 101 is used to setup the second communications channel 102. Forexample, the first device 110 and the second device 120 may utilize thefirst communications channel 101 to send and receive control messages,parameter values, and other information.

Utilizing the first communications channel 101 to setup the secondcommunications channel 102 allows the first device 110 and the seconddevice 120 to turn off (or transition to a lower power state) theirrespective second communications circuit 112 (122) when it is not inuse, thereby saving power. This feature may be realized to an evengreater extent if the first communications circuit 111 (121) draws lesspower than the second communications circuit 112 (122). By negotiating,with each other via the first communications channel 101, a start timefor transmission and reception of signals over the second communicationschannel 102, the first device 110 and the second device 120 would knowwhen to turn on or wake up their respective second communicationscircuit 112 (122), for example, prior to exchanging ranging information.

For example, the first device 110 may send, via the first communicationschannel 101 to the second device 120, an OOB control message thatincludes a start time to indicate when the first device 110 will beginsending information over the second communications channel 102. In somecases, the second device 120 may propose a start time and send, via thefirst communications channel 101 to the first device 110, an OOB controlmessage that includes a start time to indicate when the first device 110should begin sending information, such as an IB control message, overthe second communications channel 102. Further control messages or othercommunications also may be exchanged between the first device 110 andthe second device 120, via the first communications channel 101, tonegotiate or establish the start time.

The OOB control message may include other information, including channelinformation, block interval information, round interval information, andother communications parameter values. Channel information may includewhat channel to use for the second communications channel 102. The blockinterval information may specify a time interval from the start time ofan IB control message for a ranging round set to the beginning of a nextranging block. The round interval may specify a time interval from thestart time of an IB control message for a ranging round set to thebeginning of a next IB control message for the ranging round set. Aranging block may include an integer multiple of ranging rounds arrangedas one or more ranging round sets. A ranging round corresponds to a timeperiod during which ranging information may be exchanged by the devices,which may be a one-way exchange for OWR or a two-way exchange for TWR. Aranging round generally corresponds to a period of sufficient durationto complete a range-measurement cycle. A ranging round may be subdividedinto an integer number of ranging slots, each slot corresponding to atime period for sending or receiving a ranging frame of information.

As part of the negotiations between the first device 110 and the seconddevice 120 via the first communications channel 101, the first device110 or the second device 120 may propose a start time such that rangingrounds are outside an operating time period of the third communicationscircuit 113 (123), for example, due to potential conflicts between thesecond communications circuit 112 (122) and the third communicationscircuit 113 (123) or potential interference between the secondcommunications channel 102 and one or more of the communicationschannels 103, 104 and 105. In some cases, instead of proposing a starttime such that ranging rounds are outside an operating time period ofthe third communications circuit 113 (123), the first device 110 or thesecond device 120 may disable or halt/reduce operations of the thirdcommunications circuit 113 (123) during the ranging rounds if itdetermines that the proposed ranging rounds overlap with an operatingtime period of the third communications circuit 113 (123). For example,the third communications circuit 113 (123) may correspond to a Wi-Ficircuit having a scheduled target wake time (TWT). Instead of schedulingthe ranging rounds around the TWT by proposing a start time and/orranging round period that reduces, avoids or minimizes the overlap, thefirst device 110 or the second device 120 may opt to disable the thirdcommunications circuit 113 (123) during the overlap with the rangingrounds.

In yet further cases, the first device 110 or the second device 120 maydetermine that the proposed ranging rounds overlap with an operatingtime period of the third communications circuit 113 (123) and negotiatewith the third device 130 to schedule communication sessions that reduceor avoid overlapping with the ranging rounds. Continuing with theexample in which the third device 130 is a Wi-Fi access point, if thereis no existing TWT session, the first device 110 or the second device120 may negotiate with the third device 130 to schedule TWT sessions toavoid the ranging rounds. If such negotiation is not successful, thefirst device 110 or the second device 120 may send a QoS null frame withPM=1 to the Wi-Fi AP to indicate that the first device 110 or the seconddevice 120 cannot currently operate.

Also, as part of the negotiations between the first device 110 and thesecond device 120 via the first communications channel 101, the firstdevice 110 or the second device 120 may propose using a particularchannel as the second communications channel 102 to reduce or avoidpotential conflicts between the second communications circuit 112 (122)and the third communications circuit 113 (123) or potential interferencebetween the second communications channel 102 and one or more of thecommunications channels 103, 104 and 105. As an example, for the case inwhich the second communications circuit 112 (122) utilizes UWBtechnology, the first device 110 or the second device 120 may proposeusing a channel not used by the third communications circuit 113 (123),such as UWB channel 9, which has a center frequency of 7987.2 MHz, asthe second communications channel 102.

After establishing a start time via OOB signaling over the firstcommunications channel 101, the first device 110 may enable (e.g.,power-on or transition from a lower power state to a higher power state)its second communications circuit 112, if not already enabled, and sendan IB control message over the second communications channel 102 to thesecond device 120. In this case, because the first device 110 is the onesending an IB control message to the second device 120, the first device110 may be considered a controller device, and the second device 120that's receiving the IB control message may be considered a controleedevice. The IB control message may include one or more ranging parametervalues for exchanging ranging information. For the case in which thesecond communications channel 102 is a UWB channel, the IB controlmessage may be a ranging control message (RCM) that specifies rangingparameters, such as the type of ranging (e.g., OWR, single-sided TWR,double-sided TWR, etc.), intervals including block and round intervals,and a number of ranging rounds. These ranging parameters in the IBcontrol message may be the same as or similar to some of those in theOOB control message and may serve as updates to parameters previouslyestablished via OOB signaling. The first device 110 may resend the IBcontrol message or send an updated IB control message at block and/orround intervals from the start time. The first device 110 may toggle thepower state of its second communications circuit 112 in between sendingthe IB control messages and/or between ranging rounds to save power.

After establishing a start time via OOB signaling over the firstcommunications channel 101, the second device 120 may determine anenable time based on the start time. For example, in determining theenable time, the second device 120 may account for a turn-on delay dueto jitter and set the enable time to be a period of time (e.g., 10milliseconds) before the start time. The second device 120 may enable(e.g., power-on or transition from a lower power state to a higher powerstate) its second communications circuit 122, if not already enabled, atthe enable time such that the second device 120 would be ready toreceive the IB control message at the start time. If the second device120 somehow fails to receive the IB control message at the start time,the second device 120 may receive the IB control message at block and/orround intervals from the start time. The second device 120 may togglethe power state of its second communications circuit 122 in betweenreceiving the IB control messages and/or between ranging rounds to savepower.

After sending the IB control message by the first device 110 orreceiving the IB control message by the second device 120, the firstdevice 110 or the second device 120 may initiate an exchange of ranginginformation over one or more ranging rounds. With OWR, a one-wayexchange of ranging information may be initiated between a sendingdevice and a receiving device. For example, the first device 110 or thesecond device 120 (i.e., the sending device) may send one or moreranging frames, including a sending timestamp, to the other device(i.e., the receiving device). Based on the receive time of a rangingframe and the sending timestamp included in the ranging frame, thereceiving device may calculate the ToF of the ranging frame and multiplythe ToF by the speed of light to determine a distance between thesending device and the receiving device. With TWR, a two-way exchange ofranging information may be initiated in which both the first device 110and the second device 120 send ranging frames to each other fordetermining the distance between them.

FIG. 2 illustrates a diagram of a timing for establishing communicationto exchange ranging information, according to an embodiment. For thisexample, the first device 110 is designated as the controller device andthe second device 120 is designated as the controlee device forconvenience of description and easier understanding. The controller (orthe controlee) device may send an OOB control message 201 to thecontrolee (or controller) device at time t₀. The OOB control message 201may include a start time t₁ indicating when the controller device is tosend an IB control message 202 to the controlee device. The controllerdevice may specify the start time t₁ relative to time t₀. The OOBcontrol message 201 may also include interval information indicatingwhen, such as relative to the start time t₁, the controller device wouldresend the IB control message 202. In this case, the intervalinformation may include a block interval indicating the start of a nextranging block at time t_(B). The IB control message that is re-sent mayinclude the same and/or updated parameter values, such as updatedinterval information.

Having knowledge of the start time and the interval information via OOBsignaling, the controlee device may enable (e.g., power-on or wake-up)its second communications circuit 122, if not already enabled, at timet_(a), to ready itself for communicating over the second communicationschannel 102. The controller device may send the IB control message 202to the controlee device at the start time t₁. If the controlee devicemisses or otherwise fails to receive the IB control message 202 at thestart time t₁, the controlee device may disable (e.g., power-off orsleep) its second communications circuit 122 to save power and thenre-enable it at time t_(b), prior to the start of the next ranging blockat time t_(B), to ready itself again for receiving the IB controlmessage 202 that the controller device resends. Hence, in the describedembodiment, when the controlee device misses or otherwise fails toreceive the IB control message 202 at the start time t₁, the secondcommunications circuit 122 may be disabled and the ranging round set one220 and the ranging round set two 230 may not be conducted.

The IB control message 202 may include parameter values for conductingranging round set one 220, which FIG. 2 shows as having one ranginground. For example, the parameter values may include a block intervalI_(B1) and/or a round interval I_(R1). The block interval I_(B1)indicates the start of the next ranging block, relative to the starttime t₁ of the IB control message 202. The round interval I_(R1)indicates the start of a next IB control message 202′ associated with anext ranging round set one 220′, relative to the start time t₁ of the IBcontrol message 202. For the IB control message 202 corresponding toranging round set one 220, its parameter values of the block intervalI_(B1) and the round interval I_(R1) are equal.

The controller may send a second control message, IB control message203, to the controlee in the same ranging block. The IB control message203 may include parameter values for conducting ranging round set two230, which FIG. 2 shows as having two ranging rounds. However, for theIB control message 203 corresponding to ranging round set two 230, itsparameter values of block interval I_(B2) and round interval I_(R2) arenot equal. The block interval I_(B2) indicates the start of the nextranging block, relative to the start time t₂ of the IB control message203. The round interval I_(R2) indicates the start of the next IBcontrol message 203′ associated with the next ranging round set two230′, relative to the start time t₂ of the IB control message 203.

FIG. 3 illustrates a flowchart of a method by the controller device forestablishing communication to exchange ranging information, according toan embodiment. At 301, a controller device sends to or receives from acontrolee device, via an OOB channel, an OOB control message indicatinga start time. At 302, the controller device sends to the controleedevice, via an IB channel, an IB control message including one or moreranging parameters for exchanging ranging information. The IB controlmessage is sent at the start time. At 303, the controller deviceexchanges ranging information with the controlee device, via the IBchannel, over one or more ranging rounds. The exchange may be a one-wayexchange in which the controller device either sends or receives ranginginformation or a two-way exchange in which the controller device bothsends and receives ranging information to and from the controlee device.

The OOB control message may include a time interval, and the controllerdevice may resend the IB control message at the time interval from thestart time. The OOB channel may be a BLE channel, and the IB channel maybe a UWB channel. The controller device may receive from the controleedevice, via the OOB channel, an indication to use a particular channelas the IB channel. Or, the controller device may send to the controleedevice, via the OOB channel, an indication to use a particular channelas the IB channel. The particular channel may be UWB channel 9.

FIG. 4 illustrates a flowchart of method by a controlee device forestablishing communication to exchange ranging information, according toan embodiment. At 401, the controlee device sends to or receives fromthe controller device, via an OOB channel, an OOB control messageindicating a start time. At 402, the controlee device determines anenable time based on the start time. At 403, the controlee deviceenables an IB communications circuit on the controlee device at theenable time. The IB communications circuit is configured to supportcommunication over an IB channel. At 404, the controlee device exchangesranging information with the controller device, via the IB channel, overone or more ranging rounds. The exchange may be a one-way exchange inwhich the controlee device either sends or receives ranging informationor a two-way exchange in which the controlee device both sends andreceives ranging information to and from the controller device.

Prior to exchanging the ranging information, the controlee device mayreceive, from the controller device via the IB channel, an IB controlmessage including ranging parameters for exchanging the ranginginformation. The controlee device may receive the IB control message atthe start time. The OOB control message may include a time interval, andthe controlee device may receive the IB control message (or an updatedversion thereof) at the time interval from the start time. The controleedevice may disable and re-enable the IB communications circuit prior toreceiving the second control message at the time interval from the starttime.

The controlee may negotiate with the controller device via the IBchannel, to use a particular IB channel that does not interfere with acommunication channel of another communications circuit of the controleedevice. The controlee device may receive from the controller device, viathe OOB channel, an indication to use a particular channel, such as UWBchannel 9, as the IB channel. Or, the controlee device may send to thecontroller device, via the OOB channel, an indication to use aparticular channel as the IB channel. In some cases, the controlee maynegotiate with the controller device, via the OOB channel, to scheduleranging rounds outside an operating time period of the othercommunications circuit of the controlee device. In further cases, thecontrolee device may determine that the ranging rounds overlap with anoperating time period of the other communications circuit of thecontrolee device and disable the IB communications circuit during theranging rounds.

FIG. 5 illustrates a block diagram of an electronic device 501 in anetwork environment 500, according to one embodiment. Referring to FIG.5, the electronic device 501 in the network environment 500 maycommunicate with an electronic device 502 via a first network 598 (e.g.,a short-range wireless communication network), or an electronic device504 or a server 508 via a second network 599 (e.g., a long-rangewireless communication network). The electronic device 501 maycommunicate with the electronic device 504 via the server 508. Theelectronic device 501 may include a processor 520, a memory 530, aninput device 550, a sound output device 555, a display device 560, anaudio module 570, a sensor module 576, an interface 577, a haptic module579, a camera module 580, a power management module 588, a battery 589,a communication module 590, a subscriber identification module (SIM)596, and/or an antenna module 597. In one embodiment, at least one(e.g., the display device 560 or the camera module 580) of thecomponents may be omitted from the electronic device 501, or one or moreother components may be added to the electronic device 501. In oneembodiment, some of the components may be implemented as a singleintegrated circuit (IC). For example, the sensor module 576 (e.g., afingerprint sensor, an iris sensor, or an illuminance sensor) may beembedded in the display device 560 (e.g., a display), or the displaydevice 560 may include one or more sensors in addition to the sensormodule 576.

The processor 520 may execute, for example, software (e.g., a program540) to control at least one other component (e.g., a hardware or asoftware component) of the electronic device 501 coupled with theprocessor 520, and may perform various data processing and/orcomputations. As at least a part of the data processing and/orcomputations, the processor 520 may load a command or data received fromanother component (e.g., the sensor module 576 or the communicationmodule 590) in volatile memory 532, process the command or the datastored in the volatile memory 532, and store resulting data innon-volatile memory 534. The processor 520 may include a main processor521 (e.g., a central processing unit (CPU) or an application processor(AP)), and an auxiliary processor 523 (e.g., a graphics processing unit(GPU), an image signal processor (ISP), a sensor hub processor, or acommunication processor (CP)) that is operable independently from, or inconjunction with, the main processor 521. Additionally or alternatively,the auxiliary processor 523 may be adapted to consume less power thanthe main processor 521, and/or execute a particular function. Theauxiliary processor 523 may be implemented as being separate from, or asa part of, the main processor 521.

The auxiliary processor 523 may control at least some of the functionsor states related to at least one component (e.g., the display device560, the sensor module 576, or the communication module 590) from amongthe components of the electronic device 501, instead of the mainprocessor 521 while the main processor 521 is in an inactive (e.g.,sleep) state, or together with the main processor 521 while the mainprocessor 521 is in an active state (e.g., executing an application).According to one embodiment, the auxiliary processor 523 (e.g., an imagesignal processor or a communication processor) may be implemented as apart of another component (e.g., the camera module 580 or thecommunication module 590) functionally related to the auxiliaryprocessor 523.

The memory 530 may store various data used by at least one component(e.g., the processor 520 or the sensor module 576) of the electronicdevice 501. The various data may include, for example, software (e.g.,the program 540) and input data or output data for a command relatedthereto. The memory 530 may include the volatile memory 532 and/or thenon-volatile memory 534.

The program 540 may be stored in the memory 530 as software, and mayinclude, for example, an operating system (OS) 542, middleware 544, oran application 546.

The input device 550 may receive a command or data to be used by anothercomponent (e.g., the processor 520) of the electronic device 501, fromthe outside (e.g., a user) of the electronic device 501. The inputdevice 550 may include, for example, a microphone, a mouse, and/or akeyboard.

The sound output device 555 may output sound signals to the outside ofthe electronic device 501. The sound output device 555 may include, forexample, a speaker or a receiver. The speaker may be used for generalpurposes, such as playing multimedia or recording, and the receiver maybe used for receiving an incoming call. According to one embodiment, thereceiver may be implemented as being separate from, or as a part of, thespeaker.

The display device 560 may visually provide information to the outside(e.g., a user) of the electronic device 501. The display device 560 mayinclude, for example, a display, a hologram device, and/or a projectorand control circuitry to control a corresponding one of the display, thehologram device, and the projector. According to one embodiment, thedisplay device 560 may include touch circuitry adapted to detect atouch, or sensor circuitry (e.g., a pressure sensor) adapted to measurethe intensity of force incurred by the touch.

The audio module 570 may convert a sound into an electrical signal andvice versa. According to one embodiment, the audio module 570 may obtainthe sound via the input device 550, and/or output the sound via thesound output device 555 or a headphone of an external electronic device502 directly (e.g., wired) or wirelessly coupled with the electronicdevice 501.

The sensor module 576 may detect an operational state (e.g., power ortemperature) of the electronic device 501 and/or an environmental state(e.g., a state of a user) external to the electronic device 501, andthen generate an electrical signal or data value corresponding to thedetected state. The sensor module 576 may include, for example, agesture sensor, a gyro sensor, an atmospheric pressure sensor, amagnetic sensor, an acceleration sensor, a grip sensor, a proximitysensor, a color sensor, an infrared (IR) sensor, a biometric sensor, atemperature sensor, a humidity sensor, and/or an illuminance sensor.

The interface 577 may support one or more specified protocols to be usedfor the electronic device 501 to be coupled with the external electronicdevice 502 directly (e.g., wired) or wirelessly. According to oneembodiment, the interface 577 may include, for example, a highdefinition multimedia interface (HDMI), a universal serial bus (USB)interface, a secure digital (SD) card interface, and/or an audiointerface.

A connecting terminal 578 may include a connector via which theelectronic device 501 may be physically connected with the externalelectronic device 502. According to one embodiment, the connectingterminal 578 may include, for example, an HDMI connector, a USBconnector, an SD card connector, and/or an audio connector (e.g., aheadphone connector).

The haptic module 579 may convert an electrical signal into a mechanicalstimulus (e.g., a vibration or a movement) and/or an electrical stimuluswhich may be recognized by a user via tactile sensation or kinestheticsensation. According to one embodiment, the haptic module 579 mayinclude, for example, a motor, a piezoelectric element, and/or anelectrical stimulator.

The camera module 580 may capture a still image or moving images.According to one embodiment, the camera module 580 may include one ormore lenses, image sensors, image signal processors, and/or flashes.

The power management module 588 may manage power supplied to theelectronic device 501. The power management module 588 may beimplemented as at least a part of, for example, a power managementintegrated circuit (PMIC).

The battery 589 may supply power to at least one component of theelectronic device 501. According to one embodiment, the battery 589 mayinclude, for example, a primary cell which is not rechargeable, asecondary cell which is rechargeable, and/or a fuel cell.

The communication module 590 may support establishing a direct (e.g.,wired) communication channel or a wireless communication channel betweenthe electronic device 501 and the external electronic device (e.g., theelectronic device 502, the electronic device 504, and/or the server 508)and performing communication via the established communication channel.The communication module 590 may include one or more communicationprocessors that are operable independently from the processor 520 (e.g.,the AP) and may support a direct (e.g., wired) communication and/or awireless communication. According to one embodiment, the communicationmodule 590 may include a wireless communication module 592 (e.g., acellular communication module, a short-range wireless communicationmodule, and/or a global navigation satellite system (GNSS) communicationmodule) or a wired communication module 594 (e.g., a local area network(LAN) communication module or a power line communication (PLC) module).A corresponding one of these communication modules may communicate withthe external electronic device via the first network 598 (e.g., ashort-range communication network, such as Bluetooth®, wireless-fidelity(Wi-Fi) direct, and/or a standard of the Infrared Data Association(IrDA)) or the second network 599 (e.g., a long-range communicationnetwork, such as a cellular network, the Internet, and/or a computernetwork (e.g., LAN or wide area network (WAN)). Bluetooth® is aregistered trademark of Bluetooth SIG, Inc., Kirkland, Wash. Thesevarious types of communication modules may be implemented as a singlecomponent (e.g., a single IC), or may be implemented as multiplecomponents (e.g., multiple ICs) that are separate from each other. Thewireless communication module 592 may identify and authenticate theelectronic device 501 in a communication network, such as the firstnetwork 598 or the second network 599, using subscriber information(e.g., international mobile subscriber identity (IMSI)) stored in thesubscriber identification module 596.

The antenna module 597 may transmit and/or receive a signal and/or powerto and/or from the outside (e.g., the external electronic device) of theelectronic device 501. According to one embodiment, the antenna module597 may include one or more antennas, and, therefrom, at least oneantenna appropriate for a communication scheme used in the communicationnetwork, such as the first network 598 and/or the second network 599,may be selected, for example, by the communication module 590 (e.g., thewireless communication module 592). The signal and/or the power may thenbe transmitted and/or received between the communication module 590 andthe external electronic device via the selected at least one antenna.

At least some of the above-described components may be mutually coupledand communicate signals (e.g., commands and/or data) there between viaan inter-peripheral communication scheme (e.g., a bus, a general purposeinput and output (GPIO), a serial peripheral interface (SPI), and/or amobile industry processor interface (MIPI)).

According to one embodiment, commands and/or data may be transmittedand/or received between the electronic device 501 and the externalelectronic device 504 via the server 508 coupled with the second network599. Each of the electronic devices 502 and 504 may be a device of asame type as, or a different type from, the electronic device 501. Allor some of operations to be executed at or by the electronic device 501may be executed at one or more of the external electronic devices 502,504, or 508. For example, if the electronic device 501 should perform afunction and/or a service automatically, or in response to a requestfrom a user or another device, the electronic device 501, instead of, orin addition to, executing the function and/or the service, may requestthe one or more external electronic devices to perform at least a partof the function and/or the service. The one or more external electronicdevices receiving the request may perform the at least a part of thefunction and/or the service requested, and/or an additional functionand/or an additional service related to the request, and transfer anoutcome of the performing to the electronic device 501. The electronicdevice 501 may provide the outcome, with or without further processingof the outcome, as at least a part of a reply to the request. To thatend, a cloud computing, distributed computing, and/or client-servercomputing technology may be used, for example.

One embodiment may be implemented as software (e.g., the program 540)including one or more instructions that are stored in a storage medium(e.g., internal memory 536 or external memory 538) that is readable by amachine (e.g., the electronic device 501). For example, a processor ofthe electronic device 501 may invoke at least one of the one or moreinstructions stored in the storage medium, and execute it, with orwithout using one or more other components under the control of theprocessor. Thus, a machine may be operated to perform at least onefunction according to the at least one instruction invoked. The one ormore instructions may include code generated by a complier or codeexecutable by an interpreter. A machine-readable storage medium may beprovided in the form of a non-transitory storage medium. The term“non-transitory” indicates that the storage medium is a tangible device,and does not include a signal (e.g., an electromagnetic wave), but thisterm does not differentiate between where data is semi-permanentlystored in the storage medium and where the data is temporarily stored inthe storage medium.

According to one embodiment, a method of the disclosure may be includedand provided in a computer program product. The computer program productmay be traded as a product between a seller and a buyer. The computerprogram product may be distributed in the form of a machine-readablestorage medium (e.g., a compact disc read only memory (CD-ROM)), or bedistributed (e.g., downloaded or uploaded) online via an applicationstore (e.g., Play Store™), or between two user devices (e.g., smartphones) directly. If distributed online, at least part of the computerprogram product may be temporarily generated or at least temporarilystored in the machine-readable storage medium, such as memory of themanufacturer's server, a server of the application store, or a relayserver.

According to one embodiment, each component (e.g., a module or aprogram) of the above-described components may include a single entityor multiple entities. One or more of the above-described components maybe omitted, or one or more other components may be added. Alternativelyor additionally, a plurality of components (e.g., modules or programs)may be integrated into a single component. In this case, the integratedcomponent may still perform one or more functions of each of theplurality of components in the same or similar manner as they areperformed by a corresponding one of the plurality of components beforethe integration. Operations performed by the module, the program, oranother component may be carried out sequentially, in parallel,repeatedly, or heuristically, or one or more of the operations may beexecuted in a different order or omitted, or one or more otheroperations may be added.

Although certain embodiments of the present disclosure have beendescribed in the detailed description of the present disclosure, thepresent disclosure may be modified in various forms without departingfrom the spirit or scope of the present disclosure. Thus, the scope ofthe present disclosure shall not be determined merely based on thedescribed embodiments, but rather determined based on the accompanyingclaims and equivalents thereof.

What is claimed is:
 1. A method of establishing communication between a first device and a second device to exchange ranging information, the method comprising: sending, by the first device to the second device via a first channel, or receiving, by the first device from the second device via the first channel, a first control message indicating a supported channel for use as a second channel; sending, by the first device to the second device via the second channel, a second control message including one or more ranging parameters for exchanging the ranging information; and exchanging, by the first device with the second device via the second channel, the ranging information over one or more ranging rounds.
 2. The method of claim 1, wherein the one or more ranging parameters include at least one of block intervals, round intervals, a number of ranging rounds, or a ranging type.
 3. The method of claim 2, wherein the ranging type includes at least one of one way ranging (OWR), single-sided two-way ranging (SS-TWR), or double-sided two-way ranging (DS-TWR).
 4. The method of claim 1, wherein the first channel comprises a Bluetooth® Low Energy (BLE) channel, and the second channel comprises an Ultra-wideband (UWB) channel.
 5. The method of claim 1, wherein: the first control message further includes a start time, and the second control message is sent at or after the start time.
 6. A method of establishing communication between a first device and a second device to exchange ranging information, the method comprising: sending, by the second device to the first device via a first channel, or receiving, by the second device from the first device via the first channel, a first control message indicating a supported channel for use as a second channel; enabling a first circuit on the second device, the first circuit being configured to support communication over the second channel; receiving, by the second device from the first device via the second channel, a second control message including one or more ranging parameters for exchanging the ranging information; and exchanging, by the second device with the first device via the second channel, the ranging information over one or more ranging rounds.
 7. The method of claim 6, wherein the one or more ranging parameters include at least one of block intervals, round intervals, a number of ranging rounds, or a ranging type.
 8. The method of claim 7, wherein the ranging type includes at least one of one way ranging (OWR), single-sided two-way ranging (SS-TWR), or double-sided two-way ranging (DS-TWR).
 9. The method of claim 6, wherein: the first control message further includes a start time, and the second control message is sent at or after the start time.
 10. The method of claim 6, wherein the second device disables and re-enables the first circuit prior to receiving the second control message.
 11. The method of claim 6, wherein the first channel comprises a Bluetooth® Low Energy (BLE) channel, and the second channel comprises an Ultra-wideband (UWB) channel.
 12. The method of claim 6, comprising negotiating, by the second device with the first device via the first channel, to schedule ranging rounds outside an operating time period of a second circuit of the second device.
 13. The method of claim 6, comprising negotiating, by the second device with the first device via the first channel, to use a particular second channel that does not interfere with a communication channel of a second circuit of the second device.
 14. The method of claim 6, comprising: determining, by the second device, that the ranging rounds overlap with an operating time period of a second circuit of the second device; and disabling, by the second device, the second circuit during the ranging rounds. 